package com.fadadianqi.logistics.customer.dao;

import com.fadadianqi.commons.BaseDAO;
import com.fadadianqi.logistics.customer.model.Village;

import java.util.List;

public interface VillageDAO extends BaseDAO<Village> {

    Village getByName(String name);

    List<Village> findAll();

    List<Village> findByTownId(String townId);

}
